package com.ykj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.redis.core.StringRedisTemplate;

import java.io.Serializable;

/**
 * @author Y2014188432
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
public class User implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    /**
     * 主键 id
     */
    public Long id;
    /**
     * 用户电话
     */
    public String phone;
    /**
     * 用户昵称
     */
    public String name;
    /**
     * 用户密码
     */
    public String password;

    public String ico;

    public String showMsg;

    public String birthday;

    public String email;
    public String power;
}
